//package com.plian.system.controller.zzd.property;
//
//import com.plian.system.config.HasGZWRole;
//import com.plian.system.dto.zzd.ZZDQuery;
//import com.plian.system.model.R;
//import com.plian.system.service.zzd.IZZDPropertyService;
//import com.plian.system.vo.report.ChartsVO;
//import com.plian.system.vo.report.PieValueVO;
//import com.plian.system.vo.zzd.mixedReform.MixedFinishVO;
//import com.plian.system.vo.zzd.property.ListedPropertyVO;
//import com.plian.system.vo.zzd.property.PropertyCapitalVO;
//import com.plian.system.vo.zzd.property.PropertyTransactionVO;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiImplicitParam;
//import io.swagger.annotations.ApiImplicitParams;
//import io.swagger.annotations.ApiOperation;
//import lombok.AllArgsConstructor;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.*;
//
//import java.util.List;
//
//@HasGZWRole
//@RestController
//@RequestMapping(value = "api/zzd/property")
//@AllArgsConstructor
//@Api(value = "浙政钉-产权信息", tags = "浙政钉-产权信息相关接口")
//public class ZZDPropertyController {
//
//    private IZZDPropertyService propertyService;
//
//    @PostMapping("/propertyTypeTotal")
//    @ApiOperation(value = "产权信息")
//    public R<List<PropertyCapitalVO>> getPropertyTypeTotal(@Validated @RequestBody ZZDQuery query){
//        return R.data(propertyService.getPropertyTypeTotal(query));
//    }
//
//    @GetMapping("/propertyCapitalTotal")
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "proType", value = "产权类别：1-全大市；2-市本级")
//    })
//    @ApiOperation("产权资产-产权信息")
//    public R<List<PropertyCapitalVO>> getPropertyCapitalTotal(@RequestParam(name = "proType",required= false,defaultValue = "1") Integer proType,
//                                                              @RequestParam(name = "date",required= false)String date){
//        return R.data(propertyService.getPropertyCapitalTotal(proType,date));
//    }
//
//    @GetMapping("/propertyOrder")
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "proType", value = "产权类别：1-全大市；2-市本级")
//    })
//    @ApiOperation("产权资产- 等级企业数量")
//    public R<List<PieValueVO>> getPropertyOrder(@RequestParam(name = "proType",required= false,defaultValue = "1") Integer proType,
//                                                @RequestParam(name = "date",required= false)String date){
//        return R.data(propertyService.getPropertyOrder(proType,date));
//    }
//
//    @GetMapping("/propertyTransfer")
//    @ApiOperation("产权资产- 产权交易")
//    public R<PropertyTransactionVO> getPropertyTransfer(@RequestParam(name = "date",required= false)String date){
//        return R.data(propertyService.getPropertyTransfer(date));
//    }
//
//    @GetMapping("/listedProperty")
//    @ApiOperation("产权资产- 上市公司情况")
//    public R<ListedPropertyVO> getListedProperty(@RequestParam(name = "date",required= false)String date){
//        return R.data(propertyService.getListedPropertyVO(date));
//    }
//
//    @GetMapping("/keyPointOrg")
//    @ApiOperation("产权资产- 重点培育公司情况")
//    public R<List<MixedFinishVO>> getKeyPointOrg(@RequestParam(name = "date",required= false)String date,
//                                                 @RequestParam(name = "type",required= false,defaultValue = "1") Integer type){
//        return R.data(propertyService.getKeyPointOrg(date,type));
//    }
//
//    @GetMapping("/companyValue")
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "proType", value = "产权类别：1-全大市；2-市本级")
//    })
//    @ApiOperation("产权资产- 上市公司市值")
//    public R<ChartsVO> getCompanyMarketValue(@RequestParam(name = "proType",required= false,defaultValue = "1") Integer proType,
//                                             @RequestParam(name = "date",required= false)String date){
//        return R.data(propertyService.getCompanyMarketValue(proType,date));
//    }
//}
